.img_box{display:inline-block;width:300px;height:200px}.img_box img{max-width:100%;max-height:100%}
